package com.ditian.model;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 坐标
 * @author chenweiyi
 *
 */
public class Coordinate {
	@JSONField(name="x")
	private double x;
	@JSONField(name="y")
	private double y;

	public double getX() {
		return x;
	}

	public void setX(double x) {
		this.x = x;
	}

	public double getY() {
		return y;
	}

	public void setY(double y) {
		this.y = y;
	}

	@Override
	public String toString() {
		return "Coordinate [x=" + x + ", y=" + y + "]";
	}
	

}
